updating tests and jshint file