Middleware component specs