Testing with Pattern flag