adding tests for product controller