Researchers discovered the insects’ unexpected superpower during an accidental laboratory snafu