Add logging test case