added tests for wildcards and non-matching keywords