Control system for a tensile-testing device using low-cost hardware and open-source software