implemented own test for numerical hash