Cleaned up the unit tests.
Small cleanups.

Added a tests for special cases. For now, added crc-5 with non-inverted
input. This test is currently failing.