[FABRIC-353] Add integration test to test the scenario.