Improved test for CW.