Logger and setUp for test case