Use expected structure of returned hash for testing.