Added test for throwing an exception DiNotFoundException