use gmock instead of gtest to check for empty