devided hmac validation test into two