Added tests for the local charm upload helpers