Added test for cartesian to/from spherical transformation