Checking of the pattern working