Add CMocka as test dependency.