fix trigger tests