patching up tests