Adding tests for DmCommon factories