refs #5797 Added test for decorater_from_middleware with multiple arguments