updated test suite to use ByteStrings instead of Strings
Code cleanup.