Update testApplication.py

added testing code for search functions