Wrap some assert_raises tests in a try block for systems without nosetests