Making last two testcases pass in scala-test-runner

changing call to “toExercismJSON” to Nil instead of null and adding predicament on the check in case of an empty testResultsFiles list

For reference:

The OP is looking for reviewers.

CC @grzegorz-bielski