Improve dependencies for the tests.
NodeJS, qtjsruntime and manifest.json-target are top-level targets. Dependencies between top-level targets should be added with add_dependencies().