More work on refactored binary redis data. Wrote some tests.