add hex dump for regression tests as requested by lategoodbye