add test for defer branch of o_O