added hash test