patched tests patch