Update test according to comments
Fix sbt project for Gearman, was not compiled and tested...
Various fix according to pull request review
 -code style
 -future exception validation in tests