test index is working fine