Create PatternsTest.java