merchant_repository methods and tests working