added tests for file manager