Improving BuildInvocations test.

Building tasks using forLaunchables() and no need to create project directories.