Add tests for `db.console_pool_*()` functions.

blueprint db-api-tests

Change-Id: I833eaeaa091641c8057f84a0fc73b0c3bfbd54fb
Merge "Add tests for `db.console_pool_*()` functions."