Add tree parser tests