testing adaptive dt