Add unit testing via Google gtest and gmocks.