Few tests to validate that invalid keys are rejected