Added test case with heading in list item.
Use unsigned char, not char, throughout.

Closes #43.