d test scripts