When calling CliRunner.invoke() on a subcommand with parameters and extra arguments, the extra arguments don't get passed because those are not handled by Command and BaseCommand.
There is a call to Command.ini with extra args in Multicommand but Command doesn't handle the passed in optional keywords.
I don't know how to solve this.
Here is the first call with runner.invoke which causes the problem:
https://github.com/mitsuhiko/click/blob/master/click/testing.py#L257