This should be useless since rdmBuilder already returns KD_OK or KD_ERROR, but two tests are better than one.