Function of the Test in Foraminifera