setup gtest test cases with cmake
run `make tests` to build and run unit tests