Update PatternGeneratorTest.cs