Got rid of assertRaises

Looks like we cannot access exception object with assertRaises in 2.6