Fixed tree behavior for relay peers, adapted testcase to look for it.