improved task tests