tests for int field