Contact Forms: Added tests for token replacement.

Tests to check that `replace_tokens_with_input` works as expected, and that
`process_submission` will successfully replace tokens in the subject.