Added `clearAllData` test function that truncates some tables

This will allow for faster reindexAll operations and should reduce some
of the load during Travis tests