1. Add DatabaseTest
2. Fix an issue where search did not perform properly for queries and terms that had
   terms separated by more than one whitespace