fix middleware and test route
Merge branch 'master' of https://github.com/ibannieto/node-api-prueba