Test that team membership can recurse