test for position