add 'cmscores' subcommand and tests