Add run-time changing of test method.