path tests + implementation