Added a unit test for PathExists.