added test for bind