Allow stubbing of path in config