Expanded on inheritance tests to include different field types.