reorganized tests.

* also, added nodemon for 'test' task.
minor change to constant names.