Fix jshint errors
Move loggers into environment setup
Add some basic tests
Run jshint before the tests