test Path.java