Test db connection.
dbm.