Adding testOrientationClass() to run unit tests on the orientation class

This adds some unit test code to interface to allow us to test the Orientation class and make sure that it is returning meaningful results to us.