Digital Material Representation and Testing of Metal Foams