test_args for dft and matrixslice