refactor tests to assume object is not patched
5.0.0