Fix tests (broken by UTF-8 support): pass function parameter reference.