Make main pub in test case (cc #9629)