folded and unfolded tensor tests