Reorder the tests for SHA512
Fix up the tests to use a new hexing function