Z motor fails during testing motors

I have replaced my Z motor. When I run the test, the Z motor seems to work fine, but Ground Control says it fails?