update test for positions api