localMode instead of testMode

Rename `testMode` to `localMode` -- this has always bothered me.