added unit test for xy (not spherical coords) case which works