Added functional tests for products controller