Fixing intermittant tests which modify global object
Removing absolute path resolution