test command: add a test for prefix search by asterisk