feat(test): support `$(location)` substitution in `env`
This allows saving the remote path of a file provided under `data` in an environment variable for later use within `src`. This works for simple cases, but it doesn't support advanced scenarios as path mapping isn't robust yet.