Test search model functionality