Fix sub-tests selection

Ideally, we should propagate this information to cmdliner generate the right command-line options.