test for fences valid positions