test: allocate test file path in heap