For fork test