Added tests for array size, field exists and field missing.