Make the AB test case more stable.