added tests for the local charm upgrade functionality