Added test cases for empty paths