Angle tests and distance tests working well