Code refactoring (dédicace à @jponge)
Added Hash tests