made assertRaises complient with other versions