Ref #342 Add setUp/tearDown to test case