Finite element simulation of mechanical tests of individual cells