added initial implementation of before/after and beforeEach/afterEach
slightly improved the test for the clirunner
added tests