fix for CharacterTest::testPropertyWithQuotes

cc @wjzijderveld