Accurate characterization of machine compliance for simple compression testing