Module and tests for Porous capsule type.