chore(jshint): enforce jshint for tests

Closes #8023
Closes #8026