assertNotNull("failed to load file", ast);
assertEquals("module has wrong name", "hello", ast.name);
assertNotNull("AST has no body", ast.body);
assertNotNull("AST body has no children", ast.body.seq);
assertEquals("wrong number of children", 1, ast.body.seq.size());
NNode e = ast.body.seq.get(0);
assertTrue("Incorrect AST: " + e.getClass(), e instanceof NExprStmt);
e = ((NExprStmt)e).value;
assertTrue("Incorrect AST: " + e.getClass(), e instanceof NStr);
assertEquals("Wrong string content", "Hello", ((NStr)e).n.toString());
}