Fixes shell tests and updates .jshintrc