Unit test for the Prototype creational design pattern.