Adds test for native_str()
Fix for unicode in the log on Python 2