added test for short pattern with wildcard