test-runner.sh: create dummy .exp file when needed

Some tests (cob for example) don't output anything. Since git
doesn't allow empty files to be added to the repository, they
much be created at test time for tests that aren't expected
to produce any output.