Remove unused test
Make examples and their installation conditional

Also added a unitfile for the minimal DM
Get rid of a warning