Added TestCase.assertThrowsWarning in the testing toolbox