Path implementation, Fix some tests