[IMP] fixed and add test for synchronize RMA with Magento