Unit test for the Flyweight structural design pattern.