test search, fix schema