added test for volume state change.