Shale testing and capillary phenomena