Fixes

Tests were not working so i fixed them,
then i fixed the broken tests, thanks to @bleech
added a new noIndexFileRev option