Fix tests.
Evaluate EXPECT_STD* output argument once.