add naïve implementation of beforeEach()
fixup typo in test name
make beforeEach work in nested contexts