Added tests for FileManager