POST operation to wrong path returns 404 (Not Found)
 - override addResourcehandler method to avoid return 405 when path not found
 - refactor test to move common logic to a parent class
 - add conversion method from object to json
 - tune eclipse formatter