Fix jshint errors for tests