[PATCH 4/9] si/test: Add tests for range encoding/decoding