work around nil in empty test suites

The fix from @jarrett for taken from #125.