Add test case when `searchPath` option is an array