testing viewsprofilessearch.py file and the autocompleteSearch method