Fix unit test according to fixed store Trigger behaviour (Trigger could
not be stored without being attached to a job)