Make validate_signature static method
Add validate_signature test method