Fix mock_storage in unittest