fix: had used wrong assert function in test
num_products now counts all_products.