Add missing tests for console_* methods.

There was no tests in test_db_api for console_* methods.
Add tests to ensure that all works.

blueprint db-api-tests

Change-Id: Ic3d5a3dd60ba50b561126279c00ca07022aaa20e
Merge "Add missing tests for console_* methods."
Merge remote-tracking branch 'm_src_repo/citrix-fixes' into build-temp