Added nats heartbeat

* refactored main tests
* added args to testrunner

[#79618142]

Signed-off-by: Dave Goddard <dgoddard@pivotal.io>