Improve H202 to cover more cases

H202 should cover both of following cases:

self.assertRaises(Exception)
self.assertRaises(Exception, foo)

Change to regex to match both cases.

Bug #1214629

Change-Id: I73ac39765b6274f6df9d5251175d9386effae71c
Merge "Improve H202 to cover more cases"