fix text related test failures on ubuntu precise/g++-4.7 - refs #2049