add new unit tests for update map position + tests refactoring