Added unit tests for coordinates