Guinea Pig

What does the idiom “guinea pig” mean?

Definition: a test subject, a person who is used as a test to see if something will work

Example: I’m going to be the guinea pig for the new payroll system at work. I hope my check comes through all right!