character representation testing