Stubbing in Martini middleware