tweak the test case
rerun setup during setup after plugins are installed
better error messages when the middleware does not exist