testing local db connection