jshint fix in endpoints test.