libdca: add test program