The issue here is that the tests had a hard-coded root locator that was used in this instance. I've changed it to use the same locator as the mock file, so as not to be confusing.