tests for file storage