first test db connection