went ahead and followed other examples that compare the cmdline output with the produced command, but it ends up fairly long and the doctests don't seem to like splitting the lines:

>>> merger.cmdline =='fslmerge -tr %s %s %.2f' % (merger.inputs.merged_file, ' '.join(merger.inputs.in_files), merger.inputs.tr)