Avast should definitely detect the eicar test string, there is something wrong. Can you try that again with the files from eicar.com? this string is not a virus, just a test string to test the shields for functionalaty.