Added gtest unit testing. Not ready for prime time yet.