Fix error code processing in test script