Added integration test for SharedQueue