Add image & emphasis tests
Bugfix on emphasis escaping
Add horizontal rules test and bugfix
Add test & bugfix for heading & code escaping