unit test for TaskMapper with child tasks