test code of vala parser implementation