Fixed the range check in parsePercent: changed `percent > 1` to `percent > 100` as per the API contract. The test now passes.