Fixed NewFieldPluginTest failures.