Cli tests

Opening this up for further discussion. Closes #450.
This should test that the environment variables are added to the application.