Add search functions and tests for all the model objects