Added unit tests to support resoling each instance, fixed CodeFirstTests to ensure that the base.TearDown() method is called. Changed the BaseMapper's to internal.