fix merchant_repo_test