Run MD tests on command line

Also remove preprocessor for MD 4.X, not supported in this branch anymore