test sails api