add test for index of sqlite