Updating the unit test for missing name on search instance.
Updating model for handling the full search without model name search.
The a.model always return an array (empty if needed) for avoiding if when using.