add check for the product migration
Merge pull request #4470 from dimagi/product-migration-test

add check for the product migration