[PATCH 2/7] si/test: Add tests for range encoding/decoding