additional test for overlapping pattern