added some black box test on the pathinfo function
added more possible paths to the test
added some commenting