Add tests for Position Api