add dbrepo for test