add inline middleware to nesting test