Added trigger tests