Change to use byte literals instead of mutable bytearray
Add tests for bytes