tests/test-offset: Create the test file in the test itself.