Update unit test with consistent log dir