Mocked the max speed api