Make some tests repeatable across platforms.