Checking assertion types in gtest.