Do not check results when there are no tests.

Fixes #49