Expose current test information to beforeEach, fixes #794
Change tests to accomodate afterEach, fixes #797
Merge pull request #795 from avaly/fix-794

Expose current test information to beforeEach/afterEach, fixes #794, #797