parser test for code in list