HORNETQ-1374 Wildcard test

Jeff asked about this on the JIRA so I thought I'd add a test to ensure it works as expected.