Add support for expected failures in unittests.

Test failure for yesno filter on bad arguments.