Fixed unit tests with cpuset enabled.