learn_ruby: added factorial test