Strict checking when indexing files

We of course doesn't want to shit out the pot
More tests for indexing out of tree files