remove unused patched value in unit-test