Fixed failing test by setting up ignoreLeaks to false