added test and path generator