CCM unit testing using Google Mock. Very rough.