The task of unit testing and working with mock-objects