Swap byte order before testing getBitField.

This doesn't exactly resolve #39, but it at least makes sure we're testing what
we intend to test. Fixed #39.