Implement method for get result.
Extend test for Haval algorithm.