Fix jshint issues in tests.