added gtest for unit tests