adjusted parser test for python 2