Multiple tests failing because of wrong pathnames

Running `npm test` on clean Git clone, `dev` branch, I get multiple test failures related to wrong file paths.
Some examples (full log available on request):
````
amd-resolver-test.js
✔ getAmdConfig
✔ getAmdConfig2
{ [Error: ENOENT, open '/home/miki/vcs/git/node-modules/scripted/tests/server/test-resources/requirejs-basedir/web3/scripts/requirejs/require.js']
  errno: 34,
  code: 'ENOENT',
  path: '/home/miki/vcs/git/node-modules/scripted/tests/server/test-resources/requirejs-basedir/web3/scripts/requirejs/require.js' }
✔ getAmdConfig3
✔ getAmdConfigWithPaths
✔ getAmdConfigWithPaths2
✔ getAmdConfigWithPathsAndBaseUrl
✔ likeScripted
✔ configBlockPat
{ [Error: ENOENT, open '/home/miki/vcs/git/node-modules/scripted/tests/server/test-resources/511/goats/client/lib/curl/src/curl.js']
  errno: 34,
  code: 'ENOENT',
  path: '/home/miki/vcs/git/node-modules/scripted/tests/server/test-resources/511/goats/client/lib/curl/src/curl.js' }
✔ findAmdConfIn511Project
✔ findAmdConfIn511ProjectWithRequireJs
✔ findIndirectAmdConfigInHtmlFileWithThreeScriptTags
✔ simpleRequireJsProject
````
Further down:
````
[1mresolver-test.js[22m
✔ resolveOne
✔ resolveList
✔ resolveSubToSiblingReference
✔ resolveInScriptsFolder
✔ resolveSubToSiblingInScriptsFolder
✔ requireCallWithBaseDir
✔ commonjsRefs
✔ sloppyMode
✔ sloppyModeMissing
✔ sloppyModeMultiple
✔ sloppyModePreferBestMatch
✔ preciseModeMissing
✔ pathAwarenessSimple
✔ pathAwarenessSimple2
✔ matchScore
✔ resolveNativeNodeModules
✔ resolveNodeModule
✔ resolveNodeModulesInParentDir
✔ resolveNodeModulesWithProblem3
✔ resolveNodeModulesWithProblems
✔ resolveDotDotReference
✔ resolveDifferentStyleRelativeDotRefs
✔ resolveDifferentStyleRelativeDotDotRefs
✔ relativeRefsInAmdModuleDotDot
✔ relativeRefsInAmdModuleDot
{ [Error: ENOENT, open '/home/miki/vcs/git/node-modules/scripted/tests/server/test-resources/511/goats/client/lib/curl/src/curl.js']
  errno: 34,
  code: 'ENOENT',
  path: '/home/miki/vcs/git/node-modules/scripted/tests/server/test-resources/511/goats/client/lib/curl/src/curl.js' }
✔ amdResolveBasedOnPackagesConfig
{ [Error: ENOENT, open '/home/miki/vcs/git/node-modules/scripted/tests/server/test-resources/511/goats/client/lib/curl/src/curl.js']
  errno: 34,
  code: 'ENOENT',
  path: '/home/miki/vcs/git/node-modules/scripted/tests/server/test-resources/511/goats/client/lib/curl/src/curl.js' }
✔ commonsJsWrappedModuleInAmdEnabledContext
✔ usePlugins
✔ voloSample
✔ subPackageImport
````
and finally failing with:
````
Creating servlet handler for function: getContents
Registering a servlet for path: /jsdepend/getContents
Creating servlet handler for function: getDependencies
Registering a servlet for path: /jsdepend/getDependencies
Creating servlet handler for function: getDGraph
Registering a servlet for path: /jsdepend/getDGraph
Creating servlet handler for function: getConf
Registering a servlet for path: /jsdepend/getConf
Creating servlet handler for function: retrieveNearestFile
Registering a servlet for path: /jsdepend/retrieveNearestFile
Registering a servlet for path: /exec
Registering a servlet for path: /filesystem/rename
Registering a servlet for path: /filesystem/deleteResource
Registering a servlet for path: /filesystem/mkdir
Registering a servlet for path: /filesystem/createFile
Registering a servlet for path: /get
Registering a servlet for path: /put
Registering a servlet for path: /fs_list
Registering a servlet for path: /templates
mongodb://localhost:27017/db
SockJS v0.3.1 bound to "/websockets"
Server port = 7261
Server has started.
http://localhost:7261/clientTests
Handling client tests
Handling test file: /tests/client/testsetup.js
Exec finished
ReferenceError: Can't find variable: QUnit

  http://localhost:7261/clientTests:12
ReferenceError: Can't find variable: QUnit

  phantomjs://webpage.evaluate():5
The `QUnit` object is not present on this page.


http://localhost:7261/clientServerTests
Handling client server tests
Handling test file: /tests/client/testsetup.js
Exec finished
ReferenceError: Can't find variable: QUnit

  http://localhost:7261/clientServerTests:12
ReferenceError: Can't find variable: QUnit

  phantomjs://webpage.evaluate():5
The `QUnit` object is not present on this page.


{ [Error: Command failed: ] killed: false, code: 1, signal: null }
npm ERR! Test failed.  See above for more details.
npm ERR! not ok code 0
````
Another thing worth mentioning: `phantomjs` is required to be installed globally, but not mentioned in the Wiki.