Problem? On contrary - if avast! detected such a modified file, then it would be a problem! By modifying the eicar test file, you rendered it invalid - so it’s correct that it’s not detected.