Tests randomly fail due to ordering of wild cards, sorted to make test reproduceable.