basic parser with test