Describe a time you used a Python script to automate a tedious hardware testing process for Beta Technologies. What challenges did you face?