connect db and junit-test