Added test cases for exceptions.
Updated the submodule