Fixed the getNextTrigger test (again)