Update tests and jshint