'E.g. returns all the `test` nodes that are named as x, below:
if x:
pass
elif x:
pass'

def get_test_nodes(self):

    for (i, c) in enumerate(self.children):
        if (c in ('elif', 'if')):
            (yield self.children[(i + 1)])
