added generatePath tests