Implemented reading of test.index files. No spec applied yet.
Made the engine obey index file specifications.