Test rm command EDATA_REQUIRED.
Test rm command EINVALID_DATA.
Test rm command ENOTFOUND.