Tests and fixes for wildcard support - single-level (+) and multi-level (*)