add PatternFollowedTest