tests for StorageService