Added product repository test
Fixing repositories