Update tests for Magento