Converted path_create(), improved unit tests.