bugs.core_2355_test. Incorrect handling of LOWER/UPPER when result string shrinks in terms of byte length