Fix misuse of expected in tc-funapp.
Fix misuse of expected in tc-keywords.
Make domain-mismatches have a more sensible default value.