Fixes to tests generator, documentation.

It'd be awesome if `swaggerize` ran the `npm` command to save the deps.