Add a parser test for phase