jshint compatible unit tests