cleanup and gtest