Add hailstone example and many other tests.