Fix an unstable test