How do you handle method overloading and overriding in Python or Java when designing test utility classes?