fixes jshint check on test