Wrote a new integration test. This should cover all commands.