Automatically test db connections for disconnect

For remote database connections, this prevents runtime exceptions from
the server going away.  This fixes #30.
remove spurious logging in tests