patch up tests