Factor out common node options in runtests.sh.

Change-Id: Iec60a5f6287e6795aade6af44d8c2e4f0961543c