[fix] fixed wrong documentation for `bits`, enhanced doc for `padding`
[test] add test to ensure padding with unbounded `repeated` within works