Add test to check that nil pointers are valid for data that should not be unmarshaled