getPosition + tests