ported test to index