test index collision detection simple