Add the GoogleTest framework

This is a first step towards addressing #1526.