Fixed unit.utils.utils_test.UtilsTestCase.test_is_bin_str test failure

Moved the `text_characters` bit after the data checks, since `text_characters` doesn't use the data arg. Also fixed up that line so we don't throw a TypeError.