Fix typo and add test for multiple hlines