AssertRaises is a function of testcase