Add tests for the mdconvert script

These tests take a little while to run. Sorry about that.