new compare function added for testing purposes, new tests made for Angle class