Add gmock.
Merge pull request #528 from memmett/memmett/gmock

Add gmock.