How to unit test SailsJS