Revert "Use testutil registry macros in heartbeat_test"

This reverts commit eaabedea332acd96e558ca649cd3dd321b516acf.
test/testutil.c test registry functions.

These help standardize the structure of main() and result reporting.
Use testutil registry in heartbeat_test