WHY
Currently, we don't have tests that verify the end-to-end workflow because we can't share credentials from real customers to every contributor. So, it might be a good idea to look for sandbox environments to run our tests.
For example, the FB marketing API has one.
HOW
Use Docker containers to reproduce a real-world environment and run different commands. Verify the output is correct.