Fix tests in buildbot.