moved tests to index