fixing up test to pass jshint

fixing up all the jshint warnings