add test for global option on subcommands