Added message confirmation to assertRaises tests