test ensure_all_values_are_deserialized_correctly refactored to fit the given values