Added pattern modifier to second testcase