'Test merge with replace and Update'

def testMergeReplaceAndUpdate(self):

    assertEqual = self.assertEqual
    assertNotEqual = self.assertNotEqual
    assertTrue = self.assertTrue
    assertFalse = self.assertFalse
    success = self.resource.merge(self.id1, self.id2, replace=['acronym'], update=Storage(website='http://www.example.co.uk'))
    assertTrue(success)
    (org1, org2) = self.get_records()
    assertNotEqual(org1, None)
    assertNotEqual(org2, None)
    assertFalse(org1.deleted)
    assertTrue(org2.deleted)
    assertEqual(str(self.id1), str(org2.deleted_rb))
    assertEqual(org1.name, 'Merge    Test    Organisation')
    assertEqual(org1.acronym, 'MTOrg')
    assertEqual(org1.country, 'UK')
    assertEqual(org1.website, 'http://www.example.co.uk')
    assertEqual(org2.name, 'Merger    Test    Organisation')
    assertEqual(org2.acronym, 'MTOrg')
    assertEqual(org2.country, 'US')
    assertEqual(org2.website, 'http://www.example.com')
