Auto tests in Ruby