Added test Pattern management
Merged