autotest in ruby