remove old tests add cmocka