added test for searching multiple databases