StructureMap adapter + tests.