PathHelper.IsPathValid Test Cases

Added test cases for the IsPathValid helper method.