Added a new test for the scenario when the exception should be raised