Fix tests properly this time with a jshint exception