pattern_test