See the discussion in #492
shell.test() used to not perform shell globbing (it's not usually something you would want in this scenario). The above-mentioned PR accidentally introduced globbing to the command, which could break things for some users.
If anyone can examine that PR and figure out all behavior changes, feel free to submit a PR for this.