test for new fold functionality