Sometimes I had the same error with previous versions of avast, i.e., I could not delete the eicar.com file. But it was a long time ago and I did not try it more :-\