Some of this was unapologetically pilfered from the core plugins
This commit introduces a failing integration test, that's expected