Make jshint run a test, and fix an issue