completing path module + tests