fixed tests that were mocking SplFileObject