add testcase for gettasksrecursive

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>