Unit tests for pathManager