Adding character encoding tests