Fix test mock