fix merchant repository test setup