Fix CPU test sandbox bug.