add regression testcase for #bind