Issue #1962358 by grom358: Fixed TokenFileTestCase