cmake function add_gtest for adding tests