Extend pub memory limit test to check replenish.