Expand test coverage.
Add tests for zca-style encoding/decoding.