run tests before patching