added tests for file storage