tests: problem with setEmptyValue() and space at the end of the string