[Test] Updated test to the new DSim API.
[Test] Updated test to the new DSim API.

airsim/tvlsim,airsim/tvlsim,airsim/tvlsim,airsim/tvlsim,airsim/tvlsim,airsim/tvlsim,airsim/tvlsim,airsim/tvlsim,airsim/tvlsim