Add TriggerRegistry to tests

Fixes tests broken by 8ba81f4d67c6a02d7456c97f92cbc169fc50bbff

Change-Id: Idd53d5c28941fa738b3a790977c0e7f0e65faaa9