added databasemaintest