Changing the way content is logged before and after each test case