added tests and checks for blank searches
upped version