Tests for coordinates

This should probably not be done here?