MAID-582_passing_DataManagerDatabase_tests

btw. the current coverage of database.cc is 91% , and the majority of the zero call line is about throwing an exception when database is not initialized.