add test for id range compression