Renaming bytestring test
Refactored decoder