Fix bug for Groestl longer version. Include test code for Groestl.