add unit test for searching uncommitted changes to the index
add statement indexing unit test