added some tests for the removeFile method

And instead of separating with blank lines, could you define a new `test()` for each feature/edge case you're checking?