Update ldatest.py