On projection-based tests for spherical and compositional data