adding afterEach function set that mirrors beforeEach, also cleaning up the reporting code