correct test for unclosed field