_beforeResponse middleware options and tested