fixed unit test that verifies task list output