Updates unit test and /search route correct function name for query_mongo calls.