add some fold test code