Added ToyTest for three algorithms