tests: Fix test failure on ivybridge cpus.