Fix pattern tester