Refactored uploadLocalCharm to be a public method. Added integration tests to test that both entry points deploy to the environment