Testing some of the functionality of sails.js