convert a test to a proper gtest