cleanup invalid test file
add cleanup to test