add functional test for products