Fix the infinite loop which occurs when rows wrapped
Add the method hr() and its test
Merge branch 'develop'