adjusted the tests to the new file interface