Method replacement and testing utility