Resolved the jshint errors in the tests source