fix bind failures

Check in for other bind failure tests
Only mySql tests are failing now
Working version of unit tests, junit

junit runs fine and has only 19 failures
gradle build runs few client and server tests and complete in 4 minutes
gradle jar short circuits and only builds the jar
gradle junit and jar works fine

gradle junit and jar works as expected. Junit with 19 mysql failures
which is expected as I dont have the mysql running on my box.

Fixed couple more unit tests to make the tracking easier.