Add test suite

Adapted from https://github.com/evilstreak/markdown-js
Add travis config