updated api url from 'api/workflow' to plural 'api/workflows'
switched to mockgoose for mongo mocking
Move the `getAvailableRequests` to `restCallVM`