Refactored the playback-speed code example/test.