fix whoosh setup/teardown in TestWeb