Add and test path type.