test case showing bug with database not being initialized for tests