enabling log for tests and updating agent