Simplify test_dd.py