some test refactoring
some changes in view and controllers
added unit-test  getbyID for bonuses