foam porosity test