It's probably sensitive to current-working-directory? May need to set that, because we can't rely on which directory the tests are being run from. Or it might be something else, not sure. It definitely works for me on a test project, so must be something specific to the test environment. I can take a look at it later tonight.