remove generated files in case of exception
tests: check for existence of annotation()