Fix unit tests
jshint