Converted unit tests to use gtest instead of QTest