fix py2/3 str/byte issues
rename test file for consistency with other modules