Testing for OSError when deleting test.txt

It is possible that in cases where goose is running concurrently previous process may delete test.txt file which will cause current process to raise OSError.