Test helper for mock objects. Also 
allows to mock existing mock objects.