Testing shared state.