Make tone player test quicker.
Merge pull request #769 from yxl/TestPlayTone

Make tone player test quicker.