Fix test for gift libraries