mocking task creation