Added some tests and Travis

I am planning to changing the parsing of the markdown format, but before
doing that I've decided to add some tests and don't break everything.

I've added Travis too.