Small refactor of tests

missing index test file