add functions to daos
refresh database tables before each test