Using googletest assertions instead of deprecated ones