remove test files
Make removing files more robust