fix merchant/merchant repository tests