Add test restricting the api_bugzilla to a certain collection
Add some index in the Log table
Update the test tearDown is the test database isn't an sqlite database