add tests for bitfield buffer lengths
remove buggy while loop
Merge pull request #11 from feross/fisch0920-master

fix for bitfields of non-multiple-of-8 length
fixes #10
1.0.2