simplify a test mock