use fold to correct test