added test for the path generation