adding test for file reading