Add tests for logs manager.