Testing the database connection code.