Basic implementation of the ASTNode plus some tests