fix tests

Fix tests

since version 2.8 libxml2 -nokogiri's dependency- does not strip new lines after a closed tag

**Note:** 
Nokogiri's version 1.6.0
ruby 2.0.0

related [issue](https://github.com/vmg/redcarpet/issues/210)