answer: The animals were frequently used as a model organism in the 19th and 20th centuries, resulting in the epithet "guinea pig" for a test subject , but have since been largely replaced by other rodents such as mice and rats .