Replaced Markdownify by library, added tests