fixes to databasesearcher and medicaltestcreator