test for gen valid posn