Helicity fluctuations in rotating and non-rotating pipes