Added triangle tests