AstNode now implements Iterable for iterating its children.
Make sure to create expected and result dirs first.