add test for indexin