test: Non-zero exit status if tests fail

Signed-off-by: Lewis Marshall <lewis@lmars.net>
test: Support passing router-ip

Signed-off-by: Lewis Marshall <lewis@lmars.net>
test: Use a fresh discoverd connection when detecting router ip

Signed-off-by: Lewis Marshall <lewis@lmars.net>
Merge pull request #112 from flynn/test-exit-status

Various Test fixes