you could the call to `newrelic_set_appname` in a separate method so you can use a subclass for testing which overrides the method again.