Functional tests for product controller