Pressure testing of refinery pipelines and tanks