added some tests and fixed tests that failed on visualsearch