add test for non-ascii characters
Updated from_string to account for non-ASCII XML-content.

Closes #1