update tests and jshint