testing failure to connect to db