fix events test