added test to check that there are not extra fields in a record