added test for coordinates