add support for beforeAll blocks that run once
run afterEach from outer context, fixes #4