Adding failing tests to prove key overflow in form signing

Adds tests for 3 in #998. Supersedes PR #1130.

Refs #839.