qmd: added some tests