CDK-556: Fixed unit tests broken by the AllowNulls change.