added test for fields