adding afterEach function to globals for jshint