CommonEncryption tests.

+ Move ContentKey retry tests from scenario to unit tests.