Major (PatternLibrary) : added first part of pattern State
Major (PatternLibrary) : added last part of pattern State
minor (UnitTests) : added unit tests for pattern State