Fix CalendarProviderTest database corruption.

a) Make sure the database is closed between tests.
b) Hack to ensure that the CalendarProvider.TimezoneChecker thread
finishes before testAttendees finishes, so it doesn't access the closed
database.
1 file changed