fix merchant_repository tests