Added better test dir, printIndex now print file in current working directory
Organizing tests and minor changes to indexer.py