Added test for bind()