test_clogger: fix Ruby 1.8 test compatibility