Updated triangle test some more, added helper in testing utils.