add test case for patching to null pin