Combine task preview test config and json into same file

Also auto generate the --task--preview-invalid output. Placing the
config in the same file as the output it generates helps correlate the
two to make it easier to debug and develop new tests.

Change-Id: I27255fb2f55401bf7b1362a4129ccef8a828c528
7 files changed