test for fork and slice