Added some test methods for compass