Altered the assertThrow method to use Exception as the default exception it asserts on.