Initial work on whoosh backend tests.