Added unit test for coordinates