Failure of a pre-cracked epoxy sandwich layer in shear