test-server: return non-zero exit on test failure