Updated Abstract Factory pattern test.