Added SimpleCov gem for test coverage analysis
Use tmp/test/ to store files created during tests
Make sure the file exists before trying to delete it
Clarified some comments