Adding some type checks to the field tests.