add type check test case for bind