Added tests for #calculate_rating and .search for neighborhood model