Add specs for Service::Middleware.clear.