Added more tests to fortune_algorithm.