Updated tests
Use a queue for tika
Remove useless imports
Merge pull request #1 from Papiel/queue

Queue