added MapBasedModelAdapterFactory to make component tests easier
added MapBasedModelAdapterFactoryTest