Modified test_and_set. Added a playback file for blending.