[stat] test output of stat subcommand

ruby1.8 should fail because it lacks of Process.spawn...
[stat] fix for 1.8.7