Adding test case for product_api.py