Where did the name guinea pigs come from?

When guinea pigs first were bred in England, each one cost one "guinea" which was a kind of coin. Guinea pigs actually don't even come from New Guinea.