Added missing self refence to TestPatch