Refined test for categories index