Add npm test command.
Externalize validationErrorStatus in middleware.