Fixed a bug in search sample with keyword "test"