Database connect test example