Add a discover test using new subtask functionality