Added tests for bind