Make the test running more generic for mdv-syntax