Fix test failure by running on console.