fix parsing errors with test