Added test for PathNotFoundException