Added some unit tests for the path manager