add tests for accepting invalid signatures.

Tests and sample configurations for "AcceptInvalidSignatures" option.
Can this whole test move into `system/system_test.sh`?