Attempting different version of self.assertRaises