Isolate the testing package. And use "user.dir" in LZStringInRhino to get js reference file.