perpendicularityTest