found sails is difficult to write tests