Key validation test units