Fix test_import and unicode issues.