triangle agency test