write products controller tests