Added functional tests for products.