I'm a little uncomfortable at how much this test is mocking out. If the API of anything changes, the completion tests will still pass even though the feature does not work at runtime. See test_app.py for examples using the provided test commands with real applications, or test_commandmanager.py for a TestCommandManager that skips scanning the plugins.