Fix broken tests due to code rot
Fixed a test case to reflect recent changes for bots
Removed -pedantic because gtest doesn't support it