Test of gauge invariance and unitarity of the quantized Einstein theory of gravity