Add cpp test binding.