add the test
add search_url function to model
add link to detail page