Unit test for the Abstract Factory creational design pattern.