Return non-zero exit code if tests fail