Support for searching by multiple ids and more tests