Fix test for gift code helper