Added constant speed test code