Removed unneeded unit test
Fixed jshint errors