Renames to_utf8() to to_native_str_type()
Adds tests for to_native_str()
Acceptance test for to_native_str() in BaseCommand