fixed tests for recommendation_api_spec