added : tests for file handling methods