Adding some test cases.

    Adding a test case to the bind address parameter and server functionality.
Also fix some other test because the more restrict content body comparison.