idtree: add unit test for ids around INT_MAX