Updated tests to remove log dir