added tests for coordinates