This sucks, totally. And also a lesson not to give your card out. Something doesn't sound right though. If the mag stripe was used, they'd need a signature right? If the chip was used, in my experience, you need to enter the pin. If tap was used the amount would have been too big in my experience. How were these charges authorized?
First, they'll never have any change when they do this hoping to force you to overpay. Second, they can charge you for the ATM trip and the wait time (and then you have $20 bills, so forced to overpay). Third, if the machine "failed to run it", they can charge the card and pocket the cash.
The article was about some just charging whatever they felt like, but in those cases got too greedy. Since many won't notice, it's hard to dispute, and the DA isn't going to charge them, they can keep doing over and over. Especially with foreigner tourists.