add jshint check to the tests

Warnings about the use of expressions where normally you would expect to
see assignments or function calls are suppressed due to the 42 check.