Tests for triangle assignment