Linear and non-linear FEM analyses to assess a shear flat-jack test for masonries