Refactor tests' setup_package().
By default, don't let Tornado log warnings during tests.