added functional test for products