Added timer_service and factored out global test utilities