fixed test
added some spherical logic + tests