fixed search testing with SQLIte
upped version