Unit tests: don't fail miserably if we don't have CDB support