Fixed test failes in 1.8.7

http://osc.matsukei.net/issues/410 fixes #410