add some getters to TestContext -- add tests for the addParentContext method
testing actions on TestContext
fix bug then() in when()