added tests for the local charm upload code