test: add `global` mode test file