adding product_types api unittests