add tests for the healthz package

Currently there are no tests for the healthz package. This patch adds
an initial set of tests and improves test coverage.
Merge pull request #542 from kelseyhightower/heathz_tests

add tests for the healthz package