add unit test, speed change with same value