Added tests for MAGE-4590
Merge pull request #242 from magento/tomkadwill-MAGE-4590

Added tests for MAGE-4590