pass through jshint success/fail for exit code

also fixed some tests