Replace EXPECT_FLOAT_EQ with EXPECT_DOUBLE_EQ.
Get rid of some unused variables.
Fix VS 2013 warnings.