A pellet for testing distal colonic and anorectal function. In one embodiment the pellet comprises a bag comprising the exterior of the pellet wherein the bag is comprised of a polymer that is reactive with a catalyst to form a more solid-like substance. In another embodiment, the pellet may comprise one of a grapheme layer, a wavelength transducer, or a magnetically attractive element. In another embodiment the pellet may comprise a telescopic extender and further comprise a telescope bad coupled to the telescopic extender.