Make test work under CI.