add memdown fix
added tests
added travis