test getPathWhenFromEqualsTo passed