Tests for Similarity of Triangles