Before and after test hooks. #7