added another negative test with null key or message