fix broken 3.x test