TestCase should have setExpectedException

Testing exceptions using Assert::exception() is pretty uncomfortable. Calling one method is much more easier and shorter than creating callback function.