task3 mocked tests