Fix some style issues
Add a manual test for bind()