There's no need to smoketest FileToIndex or TreeToIndex now that integration tests cover them very well.

This also removes our only need for mock.
Don't repeat ourselves in the more complicated needle extractions.

Leaving the warning and macro needles alone for now because they're just so darn obvious to read.