Testing product model

Covered the:
self.by_category method