Hash computation fixed.

Enhanced dump file logging.
Testsuite pass.