changes made to pass tests with python 2 and other minor changes Updated the tests to fix the string/bytes input changes made to pass tests with python 2 and other minor changes made some changes as suggested made changes as suggested changes made as suggested