Added a test for an execution exception