handling proxy = const proxy operator for CharacterVector. added test for bug found while working on RcppArmadillo