Standardize jshint workarounds in tests