Added query and test db for search bug