Added unit test for get_recommendations