Fixed a few more extractPureBits() gotchas that came up, and added a couple tests...