GlobalFile: fix unit test