removed addClassMapping from modelUtils and made it a test helper
made _getModelConstructor a "private" method