Added testing helpers.  Specifically adds the ability to provide an instance (real or mock) when a now instance is being created.