fix running tests and jshints