made parsing tests more robust