jshint, more unit tests