Universal testing equipment for tensile and compression testing