test-cmd should test all api versions
Prevent infinite loop in apiserver errorJSON