tests: add cunit based unit tests

add dcap_url test

Acked-by: Albert Rossi
Target: master