Just a few tests by me, written in Ruby.