failing tests for byteAt.

uh-oh, setting with it fails in a lot of cases.
Fixed setting with byteAt.

I was using XOR to mask when I should have been AND-ing with the complement.
Merge pull request #223 from startling/byteAt-fix

Fixed setting with byteAt