test suite to fix parsing bug