move some examples to test fold and add more test codes