Added test case for unpatching