Fix broken test for position validity