Added test case for fields undefined in the schema